﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UDataBaseWork;
using XF.Meeting.IDal;

namespace XF.Meeting.DAL
{
   public class BaseDAL
    {
       public CBaseDB _db = null;
        
        
        private readonly string strSqlConn = UCommonWork.Common.Commons.MD5DecodeString(Convert.ToString(System.Configuration.ConfigurationManager.AppSettings["SQLConnString"]));
        private string obj = string.Empty;
        public BaseDAL()
        {
            if (_db == null)
            {
                lock (obj)
                {
                    if (_db == null)
                    {//kkk///
                        _db = new CBaseDB(strSqlConn);
                    }
                }
                //asdsammmm
            }
        }
    }
}
